export const tableList = {
  formcode: "activity",
  item: [
    // {
    //   itemcode: "id",
    //   itemname: "ID",
    //   minwidth: "60",
    //   displaymark: 1,
    //   overflow: 1,
    //   datasheet: "app_qb_activity.id",
    // },
    {
      itemcode: "activityId",
      itemname: "活动编号",
      minwidth: "80",
      width: "150px",
      displaymark: 1,
      overflow: 1,
      fixed: "left",
    },
    {
      itemcode: "activityName",
      itemname: "活动名称",
      minwidth: "180",
      displaymark: 1,
      overflow: 0,
    },
    {
      itemcode: "activityType",
      itemname: "活动类型",
      minwidth: "80",
      displaymark: 1,
      overflow: 1,
    },
    {
      itemcode: "beginTime",
      itemname: "开始时间",
      minwidth: "110",
      width: "110px",
      displaymark: 1,
      overflow: 0,
    },
    {
      itemcode: "endTime",
      itemname: "结束时间",
      minwidth: "110",
      width: "110px",
      displaymark: 1,
      overflow: 0,
    },
    {
      itemcode: "content",
      itemname: "活动内容",
      minwidth: "180",
      displaymark: 1,
      overflow: 1,
    },
    {
      itemcode: "status",
      itemname: "状态",
      minwidth: "60",
      displaymark: 1,
      overflow: 1,
    },
    {
      itemcode: "minordernum",
      itemname: "起订量",
      minwidth: "100",
      displaymark: 1,
      overflow: 1,
    },
    {
      itemcode: "createtime",
      itemname: "创建时间",
      minwidth: "100",
      displaymark: 1,
      overflow: 1,
    },
    {
      itemcode: "createuser",
      itemname: "制单人",
      minwidth: "100",
      displaymark: 1,
      overflow: 1,
    },
    {
      itemcode: "auditingtime",
      itemname: "审核时间",
      minwidth: "100",
      displaymark: 1,
      overflow: 1,
    },
    {
      itemcode: "auditinguser",
      itemname: "审核员",
      minwidth: "100",
      displaymark: 1,
      overflow: 1,
    },
    {
      itemcode: "releasetime",
      itemname: "发布时间",
      minwidth: "100",
      displaymark: 1,
      overflow: 1,
    },
    {
      itemcode: "releaseuser",
      itemname: "发布人",
      minwidth: "100",
      displaymark: 1,
      overflow: 1,
    },
  ],
};

export const tableGoodsList = {
  formcode: "Goods",
  item: [
    {
      itemcode: "goodname",
      itemname: "品名",
      width: "100px",
      displaymark: 1,
      overflow: 1,
    },
    {
      itemcode: "goodnum",
      itemname: "品号",
      minwidth: "80",
      displaymark: 1,
      overflow: 0,
    },
    {
      itemcode: "goodmodel",
      itemname: "型号",
      minwidth: "80",
      displaymark: 1,
      overflow: 1,
    },
    {
      itemcode: "unit",
      itemname: "单位",
      minwidth: "80",
      displaymark: 1,
      overflow: 1,
    },
    {
      itemcode: "activitypricetype",
      itemname: "活动价格类型",
      minwidth: "100",
      displaymark: 1,
      overflow: 1,
    },
    {
      itemcode: "price",
      itemname: "价格",
      minwidth: "80",
      displaymark: 1,
      overflow: 1,
    },
    {
      itemcode: "activityprice",
      itemname: "活动价格",
      minwidth: "80",
      displaymark: 1,
      overflow: 1,
    },
    {
      itemcode: "isLimit",
      itemname: "是否限量",
      minwidth: "80",
      displaymark: 1,
      overflow: 1,
    },
    {
      itemcode: "salenumber",
      itemname: "可销数量",
      minwidth: "80",
      displaymark: 1,
      overflow: 1,
    },
    {
      itemcode: "limitnumber",
      itemname: "限销数量",
      minwidth: "80",
      displaymark: 1,
      overflow: 1,
    },
  ],
};

export const tableCustomerList = {
  formcode: "customer",
  item: [
    {
      itemcode: "clientCode",
      itemname: "经销商编号",
      width: "100px",
      displaymark: 1,
      overflow: 1,
    },
    {
      itemcode: "clientName",
      itemname: "经销商",
      minwidth: "100",
      displaymark: 1,
      overflow: 0,
    },
    {
      itemcode: "isLimit",
      itemname: "是否限购",
      minwidth: "80",
      displaymark: 1,
      overflow: 1,
    },
    {
      itemcode: "limitnum",
      itemname: "限购量",
      minwidth: "80",
      displaymark: 1,
      overflow: 1,
    },
    {
      itemcode: "buynum",
      itemname: "已购量",
      minwidth: "80",
      displaymark: 1,
      overflow: 1,
    },
  ],
};
